package com.tyut.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tyut.common.annotation.Excel;
import com.tyut.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 专利管理对象 tyut_labo_patent
 * 
 * @author tyut
 * @date 2023-11-21
 */
public class TyutLaboPatent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 专利名称 */
    @Excel(name = "专利名称")
    private String name;

    /** 申请号 */
    @Excel(name = "申请号")
    private Long applicationNumber;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 案件状态 (1-公开 2授权) */
    @Excel(name = "案件状态 (1-公开 2授权)")
    private Long staus;

    /** 代理机构 */
    @Excel(name = "代理机构")
    private String agency;

    /** 所有作者 */
    @Excel(name = "所有作者")
    private String allAuthor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setApplicationNumber(Long applicationNumber) 
    {
        this.applicationNumber = applicationNumber;
    }

    public Long getApplicationNumber() 
    {
        return applicationNumber;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setStaus(Long staus) 
    {
        this.staus = staus;
    }

    public Long getStaus() 
    {
        return staus;
    }
    public void setAgency(String agency) 
    {
        this.agency = agency;
    }

    public String getAgency() 
    {
        return agency;
    }
    public void setAllAuthor(String allAuthor) 
    {
        this.allAuthor = allAuthor;
    }

    public String getAllAuthor() 
    {
        return allAuthor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("applicationNumber", getApplicationNumber())
            .append("applicationTime", getApplicationTime())
            .append("staus", getStaus())
            .append("agency", getAgency())
            .append("allAuthor", getAllAuthor())
            .toString();
    }
}
